<h1><code ng:non-bindable="">ngForm</code>
<span class="hint">(directive in module <code ng:non-bindable="">ng</code>
)</span>
</h1>
<div><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/form.js"
        class="improve-docs btn btn-primary">Improve this doc</a>

    <h2 id="Description">Description</h2>

    <div class="description">
        <div class="ng-directive-page ng-directive-ngform-page"><p>Nestable alias of <a
                href="api/ng.directive:form"><code><code>form</code></code></a> directive. HTML
            does not allow nesting of form elements. It is useful to nest forms, for example if the validity of a
            sub-group of controls needs to be determined.</p></div>
    </div>
    <h2 id="Usage">Usage</h2>

    <div class="usage">This directive can be used as custom element, but be aware of <a href="guide/ie">IE
        restrictions</a>.as element:<pre class="prettyprint linenums">&lt;ng-form
       [ngForm="{string}"]&gt;
&lt;/ng-form&gt;</pre>
        as attribute<pre class="prettyprint linenums">&lt;ANY ng-form
     [name="{string}"]&gt;
   ...
&lt;/ANY&gt;</pre>
        as class<pre class="prettyprint linenums">&lt;ANY class="ng-form [name: {string};]"&gt;
   ...
&lt;/ANY&gt;</pre>
        <h3 id="Parameters">Parameters</h3>
        <ul class="parameters">
            <li><code ng:non-bindable="">name|ngForm<i>(optional)</i> – {string=} – </code>

                <div class="ng-directive-page ng-directive-ngform-page"><p>Name of the form. If specified, the form
                    controller will be published into
                    related scope, under this name.</p></div>
            </li>
        </ul>
    </div>
</div>
